
<html><HEAD>
<LINK REL=STYLESHEET HREF="default.css" TYPE="text/css">
<TITLE>
Choosing DataWindow object-wide options </TITLE>
</HEAD>
<BODY>

<!-- Header -->
<p class="ancestor" align="right"><A HREF="pbugp170.htm">Previous</A>&nbsp;&nbsp;<A HREF="pbugp172.htm" >Next</A>
<!-- End Header -->
<A NAME="CFHCIJGH"></A><h1>Choosing DataWindow object-wide options </h1>
<A NAME="TI5315"></A><p>You can set the default options, such as colors and borders,
that PowerBuilder uses in creating the initial draft of a DataWindow object. </p>
<A NAME="TI5316"></A><p>DataWindow generation options are for styles that use a layout
made up of bands, which include Freeform, Grid, Label, N-Up, Tabular,
Group, TreeView, and Crosstab. PowerBuilder maintains a separate set
of options for each of these styles.</p>
<A NAME="TI5317"></A><p>When you first create any of these style DataWindow objects, you
can choose options in the wizard and save your choices as the future
defaults for the style.</p>
<A NAME="TI5318"></A><p><img src="images/proc.gif" width=17 height=17 border=0 align="bottom" alt="Steps"> To specify default colors and borders for a style:</p>
<ol><li class=fi><p>Select Design&gt;Options from the
menu bar.</p><p>The DataWindow Options dialog box displays.</p></li>
<li class=ds><p>Select the Generation tab page if it is not on
top.</p></li>
<li class=ds><p>Select the presentation style you want from the
Presentation Style drop-down list.</p><p>The values for properties shown on the page are for the currently
selected presentation style.</p></li>
<li class=ds><p>Change one or more of the following properties:</p><A NAME="TI5319"></A><table cellspacing=0 cellpadding=6 border=1 frame="void" rules="all"><tr><th  rowspan="1"  ><A NAME="TI5320"></A>Property</th>
<th  rowspan="1"  ><A NAME="TI5321"></A>Meaning for the DataWindow object</th>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI5322"></A>Background color</td>
<td  rowspan="1"  ><A NAME="TI5323"></A>The default color for the background.</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI5324"></A>Text border and color</td>
<td  rowspan="1"  ><A NAME="TI5325"></A>The default border and color used for
labels and headings. </td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI5326"></A>Column border and color</td>
<td  rowspan="1"  ><A NAME="TI5327"></A>The default border and color used for
data values. </td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI5328"></A>Wrap Height (Freeform only)</td>
<td  rowspan="1"  ><A NAME="TI5329"></A>The height of the detail band.<A NAME="TI5330"></A><p>When the value is None, the number of columns selected determines
the height of the detail band. The columns display in a single vertical
line.</p><A NAME="TI5331"></A><p>When the value is set to a number, the detail band height
is set to the number specified and columns wrap within the detail
band.</p></td>
</tr>
</table>
</li>
<li class=ds><p>Click OK.</p></li></ol>
<p><img src="images/note.gif" width=17 height=17 border=0 align="bottom" alt="Note"> <span class=shaded>About color selections</span> <A NAME="TI5332"></A>If you select Window Background, Application Workspace, Button
Face, or Window Text from the Color drop-down list, the DataWindow object uses
the colors specified in the Windows Control Panel on the computer
on which the DataWindow object is running.</p>
<br><A NAME="TI5333"></A><h4>Your choices are saved</h4>
<A NAME="TI5334"></A><p>PowerBuilder saves your generation option choices as the defaults
to use when creating a DataWindow object with the same presentation style.</p>

